package com.jic.market.service;

import com.jic.common.base.vo.Page;
import com.jic.common.base.vo.PageResult;
import com.jic.common.base.vo.RestResult;
import com.jic.market.entity.DiscountPromotionDetail;
import com.jic.order.request.OrderNoPage;

import java.util.List;

public interface DiscountPromotionDetailService {

    long insert(DiscountPromotionDetail discountPromotionDetail);

    long delete(Long id);

    long update(DiscountPromotionDetail discountPromotionDetail);

    DiscountPromotionDetail queryByPrimaryKey(Long id);

    List<DiscountPromotionDetail> query(DiscountPromotionDetail discountPromotionDetail);

    PageResult<DiscountPromotionDetail> queryPage(DiscountPromotionDetail discountPromotionDetail, Page pageQuery);


}
